<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
	<xsl:include href="../globals/internals.xsl"/>
	<xsl:include href="../globals/globals.xsl"/>
	<xsl:template match="/">
		<xsl:for-each select="/document/repetition">
			<p>
				<h2>
					<xsl:call-template name="editfield">
						<xsl:with-param name="repetition" select="./@id"/>
						<xsl:with-param name="name" select="'headline'"/>
						<xsl:with-param name="css" select="'h2'"/>
					</xsl:call-template>
				</h2>
				<xsl:call-template name="editfield">
					<xsl:with-param name="repetition" select="./@id"/>
					<xsl:with-param name="name" select="'content'"/>
					<xsl:with-param name="css" select="'p'"/>
				</xsl:call-template>
			</p>
		</xsl:for-each><br/><br/>
	</xsl:template>
</xsl:stylesheet>